package com.jinyijia.admin.interfaces.dto;

public class CategoryAddDTO {
  private Integer id;
  private String name;
  private Integer sort;
  private Integer parentId;

  public CategoryAddDTO() {
  }

  public CategoryAddDTO(Integer id, String name, Integer sort, Integer parentId) {
    this.id = id;
    this.name = name;
    this.sort = sort;
    this.parentId = parentId;
  }

  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public Integer getSort() {
    return sort;
  }

  public void setSort(Integer sort) {
    this.sort = sort;
  }

  public Integer getParentId() {
    return parentId;
  }

  public void setParentId(Integer parentId) {
    this.parentId = parentId;
  }
}
